package lims.cloud.oss.fileInfo;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lims.cloud.system.base.mybatis.IBaseEntity;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor(force = true)
@AllArgsConstructor
@Entity(name = "lims_fileinfo")
@TableName("lims_fileinfo")
public class FileInfo extends IBaseEntity<FileInfo> {
    private String keyWord;
    //存储桶的名称
    private String bucket;
    //所在区域的名称
    private String region;
    private String name;
    private Long uid;
    private String type;
    private Long size;
    //文件在桶中的位置
    private String fileKey;
    //文件的url
    @Column(length = 1000)
    private String url;
    private String extension;
}
